package cn.kgc.flymanager01.servcie;


import cn.kgc.flymanager01.pojo.Flight;
import com.github.pagehelper.PageInfo;

/**
 * @author niejianhang
 * @create 2020-05-31 10:47
 */
public interface FlightService {

    PageInfo<Flight> selAll(Integer pageNum, Integer pageSize, Integer id1, Integer id2);

    int del(Integer id);

    Flight selById(Integer id);

    int add(Flight flight);

    int update(Flight flight);

}
